package com.dun.mvc.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.dun.mvc.dao.UserDaoImpl;
import com.dun.mvc.vo.User;

@Component
public class UserServiceImpl {

	@Autowired
	private UserDaoImpl userDao;

	public List<User> getUsers() {
		return userDao.getUsers();
	}
}
